/*
 * Academic License - for use in teaching, academic research, and meeting
 * course requirements at degree granting institutions only.  Not for
 * government, commercial, or other organizational use.
 *
 * File: SMO_Arctan_FOC_private.h
 *
 * Code generated for Simulink model 'SMO_Arctan_FOC'.
 *
 * Model version                  : 2.5
 * Simulink Coder version         : 9.8 (R2022b) 13-May-2022
 * C/C++ source code generated on : Wed Oct  9 21:48:48 2024
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Intel->x86-64 (Windows64)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#ifndef RTW_HEADER_SMO_Arctan_FOC_private_h_
#define RTW_HEADER_SMO_Arctan_FOC_private_h_
#include "rtwtypes.h"
#include "model_reference_types.h"
#include "SMO_Arctan_FOC.h"
#include "SMO_Arctan_FOC_types.h"

/* Private macros used by the generated code to access rtModel */
#ifndef rtmIsSampleHit
#define rtmIsSampleHit(sti, tid)       (SMO_Arctan_FOC_TimingBrdg->taskCounter[SMO_Arctan_FOC_GlobalTID[sti]] == 0)
#endif

/* Macros for accessing real-time model data structure */
#ifndef rtmGetClockTick0
#define rtmGetClockTick0()             ( *((SMO_Arctan_FOC_TimingBrdg->clockTick[SMO_Arctan_FOC_GlobalTID[0]])) )
#endif

#ifndef rtmGetClockTick1
#define rtmGetClockTick1()             ( *((SMO_Arctan_FOC_TimingBrdg->clockTick[SMO_Arctan_FOC_GlobalTID[1]])) )
#endif

#ifndef rtmGetClockTick2
#define rtmGetClockTick2()             ( *((SMO_Arctan_FOC_TimingBrdg->clockTick[SMO_Arctan_FOC_GlobalTID[2]])) )
#endif

#ifndef rtmGetClockTickH0
#define rtmGetClockTickH0()            ( *(SMO_Arctan_FOC_TimingBrdg->clockTickH[SMO_Arctan_FOC_GlobalTID[0]]) )
#endif

#ifndef rtmGetClockTickH1
#define rtmGetClockTickH1()            ( *(SMO_Arctan_FOC_TimingBrdg->clockTickH[SMO_Arctan_FOC_GlobalTID[1]]) )
#endif

#ifndef rtmGetClockTickH2
#define rtmGetClockTickH2()            ( *(SMO_Arctan_FOC_TimingBrdg->clockTickH[SMO_Arctan_FOC_GlobalTID[2]]) )
#endif

#ifndef rtmGetErrorStatus
#define rtmGetErrorStatus(rtm)         (*((rtm)->errorStatus))
#endif

#ifndef rtmSetErrorStatus
#define rtmSetErrorStatus(rtm, val)    (*((rtm)->errorStatus) = (val))
#endif

#ifndef rtmGetErrorStatusPointer
#define rtmGetErrorStatusPointer(rtm)  (rtm)->errorStatus
#endif

#ifndef rtmSetErrorStatusPointer
#define rtmSetErrorStatusPointer(rtm, val) ((rtm)->errorStatus = (val))
#endif

#ifndef rtmGetT
#define rtmGetT()                      (*(SMO_Arctan_FOC_TimingBrdg->taskTime[0]))
#endif

extern const real32_T rtCP_pooled_7x7Hr3MX2jW3[1002];

#define rtCP_sine_table_values_Value   rtCP_pooled_7x7Hr3MX2jW3  /* Computed Parameter: rtCP_sine_table_values_Value
                                                                  * Referenced by: '<S85>/sine_table_values'
                                                                  */

extern int_T SMO_Arctan_FOC_GlobalTID[3];
extern const rtTimingBridge *SMO_Arctan_FOC_TimingBrdg;

/* Invariant block signals (default storage) */
extern const ConstB_SMO_Arctan_FOC_h_T SMO_Arctan_FOC_ConstB;

#endif                                /* RTW_HEADER_SMO_Arctan_FOC_private_h_ */

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
